package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Dynamic;
import cn.wolfcode.trip.base.query.DynamicQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DynamicMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Dynamic entity);

    Dynamic selectByPrimaryKey(Long id);

    List<Dynamic> selectAll();

    int updateByPrimaryKey(Dynamic entity);

    List<Dynamic> selectForDynamicList(DynamicQueryObject qo);

    List<Dynamic> selectForseleEveryPage(DynamicQueryObject qo);
}